﻿@using Pyramid.Models
@model PayeeRecord

<div class="pageContent">
	@using (Html.BeginForm("EditPaymentApply", "AdminCenter", FormMethod.Post, new {@class = "pageForm required-validate", onsubmit = "return validateCallback(this, navTabAjaxDone);"}))
	{
		<div class="pageFormContent" layouth="56">
			@Html.HiddenFor(x => x.Id)
			@Html.Partial(Model.StatusEnum == PayeeRecordStatus.Verified ? "_PaymentApplyReadonlyForm" : "_PaymentApplyEditForm", Model)
		</div>
		<div class="formBar">
			<ul>
				@if (Model.StatusEnum == PayeeRecordStatus.Default)
				{
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">保存</button>
							</div>
						</div>
					</li>
				}
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	}
</div>